package com.cyzy.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyzy.mapper.CouponKillMapper;
import com.cyzy.pojo.CouponSeckill;
import com.cyzy.service.CouponKillService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CouponKillServiceImpl extends ServiceImpl<CouponKillMapper,CouponSeckill> implements CouponKillService {

    @Autowired
    private CouponKillMapper couponKillMapper;

    @Override
    public List<CouponSeckill> selectCouponKill() {
        return couponKillMapper.selectCouponKill();
    }
}
